﻿using System;
using Sinacor.Infra.Common;
using System.Collections.Generic;
using Sinacor.Servico.Bovespa.Ordens.BusinessEntity;
using Sinacor.Servico.Bovespa.Ordens.Service.DataContract.Response;

namespace Sinacor.Servico.Bovespa.Ordens.Service.ServiceImplementation.Translator
{
    public partial class TranslateADRRequestAndParameter : 
        BaseTranslator<BusinessEntity.Parameter.ConsultarADR,
                       DataContract.Request.ADRRequest,
                       List<BusinessEntity.Parameter.ConsultarADR>,
                       List<DataContract.Request.ADRRequest>>
    {
        public override BusinessEntity.Parameter.ConsultarADR Translate(DataContract.Request.ADRRequest from)
        {
            BusinessEntity.Parameter.ConsultarADR to = new BusinessEntity.Parameter.ConsultarADR();
            to.CodigoNegocio = from.CodigoNegocio;
            return to;
        }



    }
}
